package model;

public class Operacao {

	private String acao;
	private int trId;
	private String objId;

	public Operacao(String acao, int trId, String objId) {
		super();
		this.acao = acao;
		this.trId = trId;
		this.objId = objId;
	}

	public String getAcao() {
		return acao;
	}

	public void setAcao(String acao) {
		this.acao = acao;
	}

	public int getTrId() {
		return trId;
	}

	public void setTrId(int trId) {
		this.trId = trId;
	}

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}
	
	@Override
	public String toString() {
		return this.acao+this.trId+"("+this.objId+")";
	}

}
